package com.gilight.base.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gilight.base.model.ColdOrderDetail;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ColdOrderDetailMapper  extends BaseMapper<ColdOrderDetail> {
    int deleteByPrimaryKey(Long id);

    int insert(ColdOrderDetail record);

    int insertSelective(ColdOrderDetail record);

    ColdOrderDetail selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ColdOrderDetail record);

    int updateByPrimaryKey(ColdOrderDetail record);

    List<ColdOrderDetail> getOrderDetail(@Param(value = "orderId") Long orderId);
}